﻿using ModelLayer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;

namespace BusinessLayer
{
    public interface IFUserB
    {
        int CreateUser(string fname, string lname, string uname, string email, string pass);
        ModelLayer.User SearchUName(string uname);
        ModelLayer.User GetUserById(int id);
        ModelLayer.User GetUserByEmail(string email);
        bool AddFriend(string userName, string friendUserName, string tokenId);
        List<ModelLayer.User> SearchUsers(string searchString);
        string Login(string username, string password);
        bool AddToBlacklist(string userName, string blacklistUserName, string tokenId);
        bool RemoveFromBlacklist(string userName, string blacklistUserName, string tokenId);
        List<ModelLayer.User> GetFriends(string uname);
    }
}
